import React from 'react'
import ReactDom from 'react-dom'
import './assets/css/index.css'

import {
    // BrowserRouter as Router,
    Switch,
    Route,
    Link,
    HashRouter
} from 'react-router-dom'

let person = {
    name: 'zhangsan',
    age: 14
}

const list = [
    {user: "zhangsan", content: 'hahaha'},
    {user: "zhangsan", content: 'hahaha'},
    {user: "zhangsan", content: 'hahaha'},
    {user: "zhangsan", content: 'hahaha'},
    {user: "zhangsan", content: 'hahaha'},
    {user: "zhangsan", content: 'hahaha'},
]

import Hello from './components/hello.jsx'
import classLearning from './components/class_learning.js'
import Welcome from './components/es6_components.js'
import Comment from './components/comment.jsx'
import Counter from './components/Counter.jsx'
import App from './components/App.jsx'

//渲染元素
ReactDom.render(
    <App/>
    , document.getElementById("app"))




